function success(data) {
	return {
		code: 0,
		message: 'success',
		data: data
	}
}

function error(code) {
	return {
		code: code || -1,
		message: 'Error',
		data: ''
	}
}

module.exports = {
	success,
	error
}